import request from '@/utils/request'

export async function classScriptPageQuery(classScript, paginator) {
  return await request({
    url: '/damcAdmin/classScript/query',
    method: 'post',
    data: {
      'data': classScript,
      'paginator': paginator
    }
  })
}

export async function classScriptSave(classScript) {
  return await request({
    url: '/damcAdmin/classScript/save',
    method: 'post',
    data: classScript
  })
}
